package org.tangerinejunction.imstats.sandbox;

import java.util.*;

/**
 * A conversation. Modeled as two parallel arrays, for speakers and
 * for the thing they say.
 *
 */
public class Conversation {
  List<String> speakers;
  List<String> lines;
  String filename;
  
  public Conversation() {
    speakers = new ArrayList<String>();
    lines = new ArrayList<String>();
  }
  
  /**
   * 
   * @param speaker	the name of the speaker of the line
   * @param line	the line to add to this Conversation
   */
  public void add(String speaker, String line) {
    speakers.add(speaker);
    lines.add(line);
  }
}
